home *** CD-ROM | disk | FTP | other *** search
- global gmaxslide, pausa, gScappaPerMemoria
-
- on exitFrame
- go(the frame)
- if pausa = 0 then
- frb = the freeBytes
- frb2 = the freeBlock
- set the text of field "memoria" to "freebytes:" && frb && "freeblock:" && frb2
- if the freeBlock < (the memorysize / 2) then
- tmp = the memberNum of sprite 1
- gScappaPerMemoria = "normale#" & tmp
- go(1, "black")
- unLoad()
- exit
- end if
- if the timer > (3 * 60) then
- tmp = the memberNum of sprite 1
- if tmp = gmaxslide then
- tmp = 1
- else
- tmp = tmp + 1
- end if
- nome = member(tmp, "SLIDE").name
- put EMPTY into field "dida"
- the itemDelimiter = "#"
- repeat with i = 1 to the number of lines in field "titolo#nomefile"
- dati = line i of field "titolo#nomefile"
- cod = item 2 of dati
- if cod = nome then
- dida = item 1 of dati
- put dida into field "dida"
- exit repeat
- end if
- end repeat
- set the member of sprite 1 to member(nome, "slide")
- unloadMember()
- startTimer()
- end if
- end if
- end
-